import request from '@/util/request'
export const userRegisterService = (username, password, repassword) => {
    return request({
        url: '/api/reg',
        method: 'post',
        data: {
            username,
            password,
            repassword
        }
    })
}
export const userLoginService = (username, password) => {
    return request({
        url: '/api/login',
        method: 'post',
        data: {
            username,
            password
        }
    })
}
